package com.example.demo;

public interface RedisService {
	public boolean set(final String key, final String value);

	public String get(final String key);

	/**
	 * 存活多少秒
	 * @param key
	 * @param expire
	 * @return
	 */
	public boolean expire(final String key, long expire);
}
